// 获取数据库连接
const getConnection = async (db: any) => {
  try {
    return await db.getConnection();
  } catch (error) {
    return error;
  }
};

export default getConnection;
